export interface pageDetailModel {
  id: number
  funcName: string
  funcPerms: string
  url: string
  funcType: number
  parentId: number
  sortOrder: number
  validFlag: boolean
  remark: string
}
export interface pageModel {
  total: number
  content: pageDetailModel[]
}

export interface Page {
  pageRequest: {
    pageIndex: number
    pageSize: number
  }
  [index: string]: any
}
export interface PageDetail {
  id: string
}

export interface menuItem {
  funcName: string
  funcPerms: string
  url: string
  funcType: 1 | 2 | 3
  parentId: number
  sortOrder: number
  funcIcon: string
  compName: string
  compPath: string
  routeQuery: string
  isCache: boolean
  isDisplay: boolean
  id: number
  createTime: string
  updateTime: string
  isSensitive: boolean
  children: menuItem
  isDeleted: boolean
}

export interface menuModel {
  [index: number]: menuItem
  length: number
}
